import { createStore } from 'vuex';

export default createStore({
  state: {
    setContent: {
      yiyan: true,
      sunrise: false,
      themeMode: 'light'
    },
    moment: 'd',
    wallpaper: null,
    videoList: []
  },
  mutations: {
    setSetContent(state, setContent) {
      state.setContent = setContent;
    }
  },
  actions: {
    // 异步操作
  },
  getters: {
    // 获取状态
  }
});    